/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.votestudent.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.votestudent.entity.VoteStudents;
import com.jeeplus.modules.votestudent.mapper.VoteStudentsMapper;

/**
 * 给学生投票Service
 * @author 姜盼
 * @version 2021-12-30
 */
@Service
@Transactional(readOnly = true)
public class VoteStudentsService extends CrudService<VoteStudentsMapper, VoteStudents> {

	public VoteStudents get(String id) {
		return super.get(id);
	}
	
	public List<VoteStudents> findList(VoteStudents voteStudents) {
		return super.findList(voteStudents);
	}
	
	public Page<VoteStudents> findPage(Page<VoteStudents> page, VoteStudents voteStudents) {
		return super.findPage(page, voteStudents);
	}
	
	@Transactional(readOnly = false)
	public void save(VoteStudents voteStudents) {
		super.save(voteStudents);
	}
	
	@Transactional(readOnly = false)
	public void delete(VoteStudents voteStudents) {
		super.delete(voteStudents);
	}
	
}